package com.ruoyi.student.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * ${subTable.functionName}对象 course
 * 
 * @author 核桃
 * @date 2023-11-11
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程编号 */
    private Long couid;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String couname;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long stuid;

    public void setCouid(Long couid) 
    {
        this.couid = couid;
    }

    public Long getCouid() 
    {
        return couid;
    }
    public void setCouname(String couname) 
    {
        this.couname = couname;
    }

    public String getCouname() 
    {
        return couname;
    }
    public void setStuid(Long stuid) 
    {
        this.stuid = stuid;
    }

    public Long getStuid() 
    {
        return stuid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("couid", getCouid())
            .append("couname", getCouname())
            .append("stuid", getStuid())
            .toString();
    }
}
